<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>aiengine: xsock.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">aiengine
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsock_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a>  </div>
  <div class="headertitle">
<div class="title">xsock.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the prototypes of the variables and functions for the client socket creation and management. </p>
<p>Applicable only for the AIE simulation environment execution on linux.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who     Date     Changes
</p>
<hr/>
<p>
1.0  Naresh  03/27/2018  Initial creation
1.1  Naresh  06/13/2018  Fixed CR#1003905
1.2  Naresh  07/11/2018  Updated copyright info
1.3  Nishad  12/05/2018  Renamed ME attributes to AIE
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_sock_cli.html">XSockCli</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains the socket attributes which make the Client socket instance.  <a href="struct_x_sock_cli.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_sock_str.html">XSockStr</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains pointer to the client socket instance for the same to be used in the memory IO functions.  <a href="struct_x_sock_str.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a410e435e7f8614ca472f71aea19ca65e"><td class="memItemLeft" align="right" valign="top">sint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a410e435e7f8614ca472f71aea19ca65e">XSock_CliCreate</a> (<a class="el" href="struct_x_sock_cli.html">XSockCli</a> *SockPtr, uint8 *Host, uint32 Portnum)</td></tr>
<tr class="memdesc:a410e435e7f8614ca472f71aea19ca65e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the API to create the client socket connection to the specified host.  <a href="#a410e435e7f8614ca472f71aea19ca65e">More...</a><br/></td></tr>
<tr class="separator:a410e435e7f8614ca472f71aea19ca65e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d48ccb62eddc013c991da60e6debda"><td class="memItemLeft" align="right" valign="top">sint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a06d48ccb62eddc013c991da60e6debda">XSock_CliWrite</a> (<a class="el" href="struct_x_sock_cli.html">XSockCli</a> *SockPtr, uint8 *Buffer, uint32 Size)</td></tr>
<tr class="memdesc:a06d48ccb62eddc013c991da60e6debda"><td class="mdescLeft">&#160;</td><td class="mdescRight">This API is to write specified number of bytes to the client socket.  <a href="#a06d48ccb62eddc013c991da60e6debda">More...</a><br/></td></tr>
<tr class="separator:a06d48ccb62eddc013c991da60e6debda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5250e9b84de3dbec63b7cb85bbdee9f7"><td class="memItemLeft" align="right" valign="top">sint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a5250e9b84de3dbec63b7cb85bbdee9f7">XSock_CliRead</a> (<a class="el" href="struct_x_sock_cli.html">XSockCli</a> *SockPtr, uint8 *Buffer, uint32 Size)</td></tr>
<tr class="memdesc:a5250e9b84de3dbec63b7cb85bbdee9f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This API is to read specified number of bytes from the client socket.  <a href="#a5250e9b84de3dbec63b7cb85bbdee9f7">More...</a><br/></td></tr>
<tr class="separator:a5250e9b84de3dbec63b7cb85bbdee9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54520ab352ab16dffb8ed60dc762a908"><td class="memItemLeft" align="right" valign="top">sint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a54520ab352ab16dffb8ed60dc762a908">XSock_CliClose</a> (<a class="el" href="struct_x_sock_cli.html">XSockCli</a> *SockPtr)</td></tr>
<tr class="memdesc:a54520ab352ab16dffb8ed60dc762a908"><td class="mdescLeft">&#160;</td><td class="mdescRight">This API is to close the client socket connection.  <a href="#a54520ab352ab16dffb8ed60dc762a908">More...</a><br/></td></tr>
<tr class="separator:a54520ab352ab16dffb8ed60dc762a908"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12562aa804ef4981dc7f346fd8a09457"><td class="memItemLeft" align="right" valign="top">uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a12562aa804ef4981dc7f346fd8a09457">XSock_Read32</a> (uint64_t Addr)</td></tr>
<tr class="memdesc:a12562aa804ef4981dc7f346fd8a09457"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the memory IO function to read 32bit data from the specified address.  <a href="#a12562aa804ef4981dc7f346fd8a09457">More...</a><br/></td></tr>
<tr class="separator:a12562aa804ef4981dc7f346fd8a09457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e5372db311a3d1fc835e9d7e50868c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a68e5372db311a3d1fc835e9d7e50868c">XSock_Read128</a> (uint64_t Addr, uint32 *Data)</td></tr>
<tr class="memdesc:a68e5372db311a3d1fc835e9d7e50868c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the memory IO function to read 128b data from the specified address.  <a href="#a68e5372db311a3d1fc835e9d7e50868c">More...</a><br/></td></tr>
<tr class="separator:a68e5372db311a3d1fc835e9d7e50868c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b12ec8bea6cb4e5d23afb3e10bbc0c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a4b12ec8bea6cb4e5d23afb3e10bbc0c6">XSock_Write32</a> (uint64_t Addr, uint32 Data)</td></tr>
<tr class="memdesc:a4b12ec8bea6cb4e5d23afb3e10bbc0c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the memory IO function to write 32bit data to the specified address.  <a href="#a4b12ec8bea6cb4e5d23afb3e10bbc0c6">More...</a><br/></td></tr>
<tr class="separator:a4b12ec8bea6cb4e5d23afb3e10bbc0c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a673120526fd9a0ce8c77c06c2982e039"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a673120526fd9a0ce8c77c06c2982e039">XSock_Write128</a> (uint64_t Addr, uint32 *Data)</td></tr>
<tr class="memdesc:a673120526fd9a0ce8c77c06c2982e039"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the memory IO function to write 128bit data to the specified address.  <a href="#a673120526fd9a0ce8c77c06c2982e039">More...</a><br/></td></tr>
<tr class="separator:a673120526fd9a0ce8c77c06c2982e039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46af761e5116b2b15fbeb3aa04dc79a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsock_8h.html#a46af761e5116b2b15fbeb3aa04dc79a7">XSock_WriteCmd</a> (uint8 Command, uint8 ColId, uint8 RowId, uint32 CmdWd0, uint32 CmdWd1, uint8 *CmdStr)</td></tr>
<tr class="memdesc:a46af761e5116b2b15fbeb3aa04dc79a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the memory IO function to write 128bit data to the specified address.  <a href="#a46af761e5116b2b15fbeb3aa04dc79a7">More...</a><br/></td></tr>
<tr class="separator:a46af761e5116b2b15fbeb3aa04dc79a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a54520ab352ab16dffb8ed60dc762a908"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sint32 XSock_CliClose </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sock_cli.html">XSockCli</a> *&#160;</td>
          <td class="paramname"><em>SockPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This API is to close the client socket connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">SockPtr,:</td><td>Pointer to the client socket data structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XAIESIM_SUCCESS on success, else XAIESIM_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_cli.html#a2b726b189b5137df709100512cf6c64e">XSockCli::SockId</a>.</p>

<p>Referenced by <a class="el" href="xsock__clitest_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a410e435e7f8614ca472f71aea19ca65e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sint32 XSock_CliCreate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sock_cli.html">XSockCli</a> *&#160;</td>
          <td class="paramname"><em>SockPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8 *&#160;</td>
          <td class="paramname"><em>Host</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32&#160;</td>
          <td class="paramname"><em>PortNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the API to create the client socket connection to the specified host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">SockPtr,:</td><td>Pointer to the client socket data structure. </td></tr>
    <tr><td class="paramname">Host,:</td><td>Pointer to the host name string. </td></tr>
    <tr><td class="paramname">PortNum,:</td><td>Port number to which the socket needs to connect to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XAIESIM_SUCCESS on success, else XAIESIM_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_str.html#a6f32f00a2c66bfe25bbff03a4f249217">XSockStr::CliSockPtr</a>, <a class="el" href="struct_x_sock_cli.html#ac212ac88a40d242862a1aaab935e523b">XSockCli::Serv</a>, <a class="el" href="struct_x_sock_cli.html#a2b0e0cd6d3b9f8d4338b2b5355d370bf">XSockCli::ServAddr</a>, and <a class="el" href="struct_x_sock_cli.html#a2b726b189b5137df709100512cf6c64e">XSockCli::SockId</a>.</p>

<p>Referenced by <a class="el" href="xsock__clitest_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a5250e9b84de3dbec63b7cb85bbdee9f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sint32 XSock_CliRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sock_cli.html">XSockCli</a> *&#160;</td>
          <td class="paramname"><em>SockPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8 *&#160;</td>
          <td class="paramname"><em>Buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32&#160;</td>
          <td class="paramname"><em>Size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This API is to read specified number of bytes from the client socket. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">SockPtr,:</td><td>Pointer to the client socket data structure. </td></tr>
    <tr><td class="paramname">Buffer,:</td><td>Pointer to the data buffer. </td></tr>
    <tr><td class="paramname">Size,:</td><td>Maximum number of bytes to read.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XAIESIM_SUCCESS on success, else XAIESIM_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_cli.html#a2b726b189b5137df709100512cf6c64e">XSockCli::SockId</a>.</p>

<p>Referenced by <a class="el" href="xsock__clitest_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>, and <a class="el" href="xsock_8h.html#a12562aa804ef4981dc7f346fd8a09457">XSock_Read32()</a>.</p>

</div>
</div>
<a class="anchor" id="a06d48ccb62eddc013c991da60e6debda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sint32 XSock_CliWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sock_cli.html">XSockCli</a> *&#160;</td>
          <td class="paramname"><em>SockPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8 *&#160;</td>
          <td class="paramname"><em>Buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32&#160;</td>
          <td class="paramname"><em>Size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This API is to write specified number of bytes to the client socket. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">SockPtr,:</td><td>Pointer to the client socket data structure. </td></tr>
    <tr><td class="paramname">Buffer,:</td><td>Pointer to the data buffer. </td></tr>
    <tr><td class="paramname">Size,:</td><td>Number of bytes to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XAIESIM_SUCCESS on success, else XAIESIM_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_cli.html#a2b726b189b5137df709100512cf6c64e">XSockCli::SockId</a>.</p>

<p>Referenced by <a class="el" href="xsock__clitest_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>, <a class="el" href="xsock_8h.html#a12562aa804ef4981dc7f346fd8a09457">XSock_Read32()</a>, <a class="el" href="xsock_8h.html#a673120526fd9a0ce8c77c06c2982e039">XSock_Write128()</a>, <a class="el" href="xsock_8h.html#a4b12ec8bea6cb4e5d23afb3e10bbc0c6">XSock_Write32()</a>, and <a class="el" href="xsock_8h.html#a46af761e5116b2b15fbeb3aa04dc79a7">XSock_WriteCmd()</a>.</p>

</div>
</div>
<a class="anchor" id="a68e5372db311a3d1fc835e9d7e50868c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSock_Read128 </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>Addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32 *&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the memory IO function to read 128b data from the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Addr,:</td><td>Address to read from. </td></tr>
    <tr><td class="paramname">Data,:</td><td>Pointer to the 128-bit buffer to store the read data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a12562aa804ef4981dc7f346fd8a09457"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32 XSock_Read32 </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>Addr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the memory IO function to read 32bit data from the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Addr,:</td><td>Address to read from.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>32-bit read value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_str.html#a6f32f00a2c66bfe25bbff03a4f249217">XSockStr::CliSockPtr</a>, <a class="el" href="xsock_8c.html#a5250e9b84de3dbec63b7cb85bbdee9f7">XSock_CliRead()</a>, and <a class="el" href="xsock_8c.html#a06d48ccb62eddc013c991da60e6debda">XSock_CliWrite()</a>.</p>

</div>
</div>
<a class="anchor" id="a673120526fd9a0ce8c77c06c2982e039"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSock_Write128 </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>Addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32 *&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the memory IO function to write 128bit data to the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Addr,:</td><td>Address to write to. </td></tr>
    <tr><td class="paramname">Data,:</td><td>Pointer to the 128-bit data buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_str.html#a6f32f00a2c66bfe25bbff03a4f249217">XSockStr::CliSockPtr</a>, and <a class="el" href="xsock_8c.html#a06d48ccb62eddc013c991da60e6debda">XSock_CliWrite()</a>.</p>

</div>
</div>
<a class="anchor" id="a4b12ec8bea6cb4e5d23afb3e10bbc0c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSock_Write32 </td>
          <td>(</td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>Addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the memory IO function to write 32bit data to the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Addr,:</td><td>Address to write to. </td></tr>
    <tr><td class="paramname">Data,:</td><td>32-bit data to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_str.html#a6f32f00a2c66bfe25bbff03a4f249217">XSockStr::CliSockPtr</a>, and <a class="el" href="xsock_8c.html#a06d48ccb62eddc013c991da60e6debda">XSock_CliWrite()</a>.</p>

</div>
</div>
<a class="anchor" id="a46af761e5116b2b15fbeb3aa04dc79a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSock_WriteCmd </td>
          <td>(</td>
          <td class="paramtype">uint8&#160;</td>
          <td class="paramname"><em>Command</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8&#160;</td>
          <td class="paramname"><em>ColId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8&#160;</td>
          <td class="paramname"><em>RowId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32&#160;</td>
          <td class="paramname"><em>CmdWd0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32&#160;</td>
          <td class="paramname"><em>CmdWd1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8 *&#160;</td>
          <td class="paramname"><em>CmdStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the memory IO function to write 128bit data to the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Addr,:</td><td>Address to write to. </td></tr>
    <tr><td class="paramname">Data,:</td><td>Pointer to the 128-bit data buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sock_str.html#a6f32f00a2c66bfe25bbff03a4f249217">XSockStr::CliSockPtr</a>, and <a class="el" href="xsock_8c.html#a06d48ccb62eddc013c991da60e6debda">XSock_CliWrite()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
